package com.byedu.focus;

import com.byedu.base.BaseService;
import com.byedu.domain.focus.FocusProduceDO;
import com.byedu.mapper.focus.FocusProduceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by jason on 2017/5/14.
 */
@Service
public class FocusProduceService extends BaseService {

    @Autowired
   FocusProduceMapper focusProduceMapper;


    public List<FocusProduceDO> getFocusProduceListbyFocusProduceDO(FocusProduceDO focusProduceDO) {
        return focusProduceMapper.getFocusProduceListbyFocusProduceDO(focusProduceDO);
    }
    public List<FocusProduceDO> getFocusProduceDOList() {
        return focusProduceMapper.getFocusProduceDOList();
    }
    public List<String> getcustomerList() {
        return focusProduceMapper.getcustomerList();
    }

    public FocusProduceDO getFocusProducebyId(String id) {
        return focusProduceMapper.getFocusProducebyId(id);
    }

    public Integer addFocusProduceDO(FocusProduceDO focusProduceDO){
        return focusProduceMapper.addFocusProduceDO(focusProduceDO);
    }

    public Integer delFocusProduceDO(FocusProduceDO focusProduceDO){
        return focusProduceMapper.delFocusProduceDO(focusProduceDO);
    }
    public Integer updateFocusProduceDObyId(FocusProduceDO focusProduceDO){
        return focusProduceMapper.updateFocusProduceDObyId(focusProduceDO);
    }


}